﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class UserInfo : RecordInfo
    {
        private int seq;
        private string code;
        private string name;
        private string surname;
        private string password;
        private string email;
        private string citizen_id;
        private string position;
        private string tel;
        private Nullable<int> job_site_seq;
        private string job_site_name;

        public UserInfo(int Sequence, string Code, string FirstName, string LastName
                , string Password, string Email, string Citizen, string Position, string Tel
                , Nullable<int> JobSiteSequence, string JobSiteName)
        {
            this.Sequence = Sequence;
            this.Code = Code;
            this.FirstName = FirstName;
            this.LastName = LastName;
            this.Password = Password;
            this.Email = Email;
            this.Citizen = Citizen;
            this.Position = Position;
            this.Tel = Tel;
            this.JobSiteSequence = JobSiteSequence;
            this.JobSiteName = JobSiteName;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }

        public int Sequence
        {
            set { seq = value; }
            get { return seq; }
        }

        public string Code
        {
            set { code = value; }
            get { return code; }
        }

        public string FirstName
        {
            set { name = value; }
            get { return name; }
        }

        public string LastName
        {
            set { surname = value; }
            get { return surname; }
        }

        public string Password
        {
            set { password = value; }
            get { return password; }
        }

        public string Email
        {
            set { email = value; }
            get { return email; }
        }

        public string Citizen
        {
            set { citizen_id = value; }
            get { return citizen_id; }
        }

        public string Position
        {
            set { position = value; }
            get { return position; }
        }

        public string Tel
        {
            set { tel = value; }
            get { return tel; }
        }

        public Nullable<int> JobSiteSequence
        {
            set { job_site_seq = value; }
            get { return job_site_seq; }
        }

        public string JobSiteName
        {
            set { job_site_name = value; }
            get { return job_site_name; }
        }

    }
}
